<template>
  <div class="synopsis">
    <div class="logo">
        <img :src="companyMsg.company_logo" />
    </div>
    <div class="name">{{companyMsg.company_name}}</div>
    <div class="label">{{companyMsg.company_address}}</div>
  </div>
</template> 

<script>
import { mapState, mapMutations } from "vuex";

export default {
  name: "cDetailSynopsis",
  props: {
    companyMsg: Object
  },
  data(){
    return{

    }
  },
  computed: {
    //   ...mapState({userMsg: "userMsg"})
  },
  methods:{
    
  },
  mounted(){
  }
};
</script>
<style lang="scss" scoped>
@import "~styles/varibles.styl";

.synopsis {
  position: relative;
  overflow: hidden;
  color: #000;
  width: 100vw;
  height: 15vh;
  font-size: 0.32rem;
  // display: flex;
  // justify-content: center;
  // align-items: center;
  .logo{
    width: 15vw;
    height: 15vw;
    border: 0.02rem solid #cccccc;
    border-radius: 0.2rem;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.4rem;
    margin: auto 0;
    img{
        width: 15vw;
    }
  }
  .name{
    position: absolute;
    top: 6vw;
    left:25vw;
    font-size: 0.5rem;
    font-weight: bold;
    // border: 1px solid red;
  }
  .label{
    position: absolute;
    bottom: 6vw;
    left:25vw;
    font-size: 0.3rem;
    color: #666;
    // border: 1px solid red;
  }
  
}
</style>
